package com.hr.pojo;

public class HrDept {
    private Integer deptid;

    private String name;

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    @Override
    public String toString() {
        return "HrDept{" +
                "deptid=" + deptid +
                ", name='" + name + '\'' +
                '}';
    }
}